package com.esa.test;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.io.OutputFormat;
import org.xml.sax.SAXException;

import com.esa.dbi.impl.ChoiceDBImpl;
import com.esa.dbi.impl.CourseDBImpl;
import com.esa.dbi.impl.StudentDBImpl;
import com.esa.javabean.Choice;
import com.esa.javabean.Course;
import com.esa.javabean.Student;
import com.esa.javabean.T;

public class testMain {
	public static void main(String args[]) throws IOException, SAXException{
		 
		 
		String path="E:\\WorkAndStudy\\Work\\SoftInstalPath\\Myeclipse85_Workplace\\ES_A\\src\\com\\esa\\doxml\\";
		/*ResolvingXML rxml=new ResolvingXML();
		rxml.resolve(path+"test.xml");*/
		
		/*ChoiceDBImpl cdbi=new ChoiceDBImpl();
		List<Choice> cList = new ArrayList<Choice>();
		Choice ch;
		ch=cdbi.getChoice("001","091250083");
		cList.add(ch);
		CreateChoiceXML csx=new CreateChoiceXML();
		csx.createFile(cList, path+"ch.xml");
		*/
		/*ValidateXML vx=new ValidateXML();
		vx.validate(path+"s2.xml", path+"student.xsd");*/
		/*StudentDBImpl sdbi=new StudentDBImpl();
		List<Student> list=sdbi.getAllStudents();
		CreateStudentXML csx=new CreateStudentXML();
		csx.createFile(list, path+"s2.xml");*/
		
		  
	}
}
